#ifndef PLAYER_H
#define PLAYER_H

#include"hand.h"

class Player
{
public:
    Player(Hand * hand);
    void set_hand(Card * card);
    int get_rank();
    void set_chip(int x);
    int get_chip();
    void change_chip(int chip);
    void change_c_chip(int chip);
    int get_c_chip();

    int score;

    bool if_stay;                                  //判断玩家是否还有下注资格
    bool if_match;
    bool if_all;                                   //判断玩家是否all_in
    bool if_change;

private:
    Hand * m_hand;

    int m_chip;                                    //筹码
    int c_chip;                                    //本轮下注的筹码
};

#endif // PLAYER_H
